Ext.namespace('SilverMapper');

SilverMapper.Layers = function( config ) {

	Ext.apply(this, config, {
			title: Lang.Get('Core','general','layers_title')
		,	id: 'sm-layers'
		,	autoScroll:true
		,	containerScroll: true
		,	rootVisible: false
		,	useArrows: true
		,	style: 'padding-top: 10px'
	});

	var root = new Ext.tree.TreeNode({
			text: 'Root'
		,	id:	'root'
		,	expanded: true
	});

	SilverMapper.Layers.superclass.constructor.apply(this, arguments);

	this.setRootNode(root);
	root.expand(false, false);

};

Ext.extend( SilverMapper.Layers, Ext.tree.TreePanel, {
						 
});